@import '../gloabl.less';

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  .title {
    background: rgb(121, 242, 157);
  }
  
  .wrap {
    background: var(--bg);
    color: var(--main-text-color);
  }
  
  
  
  html,
  body {
    width: 100%;
    height: 100%;
  }
 
  #root {
    width: 100%;
    height: 100%;
  }
  
  .articleAll {
    width: 100%;
    background: var(--bg-second);
    box-shadow: var(--box-shadow); //阴影
    border-radius: var(--border-radius);
  }
  
  .container1 {
  
    background: var(--bg-second);
    box-shadow: var(--box-shadow); //阴影
    border-radius: var(--border-radius);
   
    @media (min-width: 768px) {
      width: 768px;
      margin: 0 auto;
      padding: 0;
    }
  
    @media(min-width:992px) {
      width: 970px;
    }
  
    @media(min-width:1200px) {
      width: 1140px;
    }
  
    .content1 {
      min-height: calc(100vh - 64px);
      box-sizing: border-box;
      display: flex;  
      background: var(--bg-body);
      
    }
  }
  
  
  .nav {
    width: 100%;
    height: 64px; 
  }
  
  .view {

    background: #e7eaee;
  }
  
  .views {
    background: rgb(120, 251, 255);
    display: flex;
  }
  
  
  .leftarticle {
    width: calc(100% - 320px);
    flex: 1;
    height: 100%;
    padding-right: 16px;
    background-color: #fff;
  }
  
  .articleimg {
    height: 332px;
    width: 100%;
    background: #ffffff;
   
  }
  
  .articleList {
    margin-top: 16px;
    width: 100%;
   
    background: var(--bg-second);
    
}
  
  .articleListItem {
    padding: 0 16px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    border-bottom: 0.5px solid var(--border-color);
  }
  
  // --
  .imgs {
    position: relative;
    flex: 0 0 auto;
    width: 190px;
    max-height: 150px;
    min-height: 100px;
    border-radius: var(--border-radius);
    margin-right: 1rem;
    overflow: hidden;
  
    img {
      position: absolute;
      top: 50%;
      left: 50%;
      height: 100%;
      width: 100%;
      transform: translate3d(-50%, -50%, 0);
      object-fit: cover;
    }
  }
  
  .articleListItem {
    padding: 0 16px;
  
    >div {
      padding: 16px 0;
      // border-bottom: 1px solid rgb(236, 231, 231);
      background: var(--bg-second);
      border-radius: var(--border-radius) var(--border-radius) 0 0;
      border-bottom: 1px solid var(--border-color);
    }
  
    .articleListItems {
      width: 100%;
      height: 100%;
      box-sizing: border-box;
  
      >main {
        display: flex;
        margin-top: 10px;
      }
  
      @media(max-width:658px) {
        background: var(--bg-second);
        // height: 35.8px;
  
        .titles2>span {
          font-size: 12px;
          margin-left: -4px;
        }
  
        .shu1 {
          display: none;
        }
  
        >header {
          height: 46.5px;
          flex-direction: column;
          align-items: flex-start;
  
          p {
            height: 20px;
          }
        }
  
        >main {
          transition: color .3s;
          flex-wrap: wrap;
         
          .imgs {
            width: 100%;
            max-width: 100%;
            min-height: 160px;
            margin-right: 0;
            margin-bottom: 1rem;
          }
        }
      }
    }
  }
  
  header {
    display: flex;
    height: 24.5px;
  
    .titles2 {
      color: var(--main-text-color);
    }
  
    .titles1 {
      color: var(--main-text-color);
      overflow: hidden;
      font-weight: 600;
      font-size: 16px;
      line-height: 22px;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-synthesis: style;
  
      P:hover {
        color: var(--primary-color);
      }
    }
  
  
    .titles2 {
      padding-left: 5px;
  
      .shu {
        color: rgb(217, 217, 217);
      }
  
      span {
        color: #8590a6;
      }
    }
  }
 
  
  .rightitem {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  
    p {
      display: -webkit-box;
      max-width: 100%;
      color: var(--main-text-color);
      overflow: hidden;
      font-size: 14px;
      text-overflow: ellipsis;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
    }
  
    >div {
      width: 100%;
      color: #8590a6;
      font-size: 14px;
      line-height: 20px;
      margin-top: 0.8rem;
  
      b {
        width: 30px;
        height: 20px;
        color: rgb(139, 136, 136);
        margin: 0 8px;
        display: inline-block;
        text-align: center;
      }
  
      >span {
        margin-right: 15px;
  
        >div {
          display: inline-block;
  
          >div {
            display: inline-block;
          }
        }
      }
    }
  
    a {
      color: #8590a6;
      margin-right: 30px;
    }
  
    span>div {
      display: inline-block;
      color: #8590a6;
  
      >div {
        display: inline-block;
        color: #8590a6;
      }
    }
  }
  
  
  
  
  
  // --
  
  
  
  .rightarticle {
    width: 320px;
    height: 100%;
    position: sticky;
    top: 16px;
  
    @media (max-width: 768px) {
      width: 0;
      margin: 0 auto;
      padding: 0;
      display: none;
    }
  }
  
  .recommend {
    width: 320px;
    height: 260px;
    margin-bottom: 20px;
    // background: rgb(255, 255, 255);
  }
  
  .tag {
    width: 320px;
    height: 219px;
    background-color: var(--bg-second);
  }
